package com.example.demo.day0303;

public interface SomeMethods {

    void boring1();
    void boring2();
    void interesting(String arg);
    void boring3();
}
class IMP implements SomeMethods{

    public void boring1() {
        System.out.println("boring1");
    }

    public void boring2() {
        System.out.println("boring2");
    }

    public void interesting(String arg) {
        System.out.println("interesting " + arg);
    }

    public void boring3() {
        System.out.println("boring3");
    }
}
class IMP2 implements SomeMethods{

    public void boring1() {
        System.out.println("boring1  IMP2");
    }

    public void boring2() {
        System.out.println("boring2  IMP2");
    }

    public void interesting(String arg) {
        System.out.println("interesting  IMP2 " + arg);
    }

    public void boring3() {
        System.out.println("boring3   IMP2");
    }
}
